#include "stdafx.h"
#include "PluginFactory.h"
#include "MainForm.h"
#include "FutureNetWorthForm.h"
#include "StockNetWorthForm.h"
#include "PluginHelp.h"

PLUGINAPI void* CreateCFutureNetWorthForm(void* param)
{
	//AFX_MANAGE_STATE(AfxGetStaticModuleState());
	SWITCHRES(_T("Plugin.TradeMgr.dll"));
	CBaseForm* pform = CFutureNetWorthForm::CreateShow(((PluginParam*)param)->pParent);
	return pform;
}

PLUGINAPI void* CreateCStockNetWorthForm(void* param)
{SWITCHRES(_T("Plugin.TradeMgr.dll"));
	//AFX_MANAGE_STATE(AfxGetStaticModuleState());	
	CBaseForm* pform = CStockNetWorthForm::CreateShow(((PluginParam*)param)->pParent);
	return pform;
}
PLUGINAPI void* CreateCTradeMgrForm(void* param)
{SWITCHRES(_T("Plugin.TradeMgr.dll"));
	//AFX_MANAGE_STATE(AfxGetStaticModuleState());	
	CBaseForm* pform = CTradeMgrForm::CreateShow(((PluginParam*)param)->pParent);
	return pform;
}
